package collection;

import java.util.concurrent.ConcurrentLinkedQueue;

public class TestConcurrentLinkedQueue<T> extends ConcurrentLinkedQueue<T> {

    @Override
    public boolean offer(T o) {
        System.out.println(this.isEmpty());
        boolean b = super.offer(o);
        System.out.println(this.isEmpty());
        return b;
    }
}
